package self.hoy.demo.grainmall.coupon.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import self.hoy.demo.common.ServiceProviderName;
import self.hoy.demo.common.utils.R;

/**
 * @author hyh
 * @date 2020/7/5
 */
@FeignClient(ServiceProviderName.ORDER)
public interface OrderService {

    @RequestMapping("/order/order/info/{id}")
    R info(@PathVariable("id") Long id);

}
